home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Panorama / Panorama - Disk 19D (1987-07-22)(Pacific North-West Amigas Club)[WB].zip / Panorama - Disk 19D (1987-07-22)(Pacific North-West Amigas Club)[WB].adf / PipeHandler1.2 / pipedebug.h < prev    next >
C/C++ Source or Header  |  1987-06-28  |  945b  |  37 lines

  1. /****************************************************************************
  2. **  File:       pipedebug.h
  3. **  Program:    pipe-handler - an AmigaDOS handler for named pipes
  4. **  Version:    1.1
  5. **  Author:     Ed Puckett      qix@mit-oz
  6. **
  7. **  Copyright 1987 by EpAc Software.  All Rights Reserved.
  8. **
  9. **  History:    05-Jan-87       Original Version (1.0)
  10. */
  11.  
  12.  
  13.  
  14. #define   DEBUGOPEN_MAXNAMELEN   108
  15.  
  16. #define   DEBUG_CON_NAME         "CON:10/30/300/100/pipe-handler DEBUG"
  17.  
  18.  
  19.  
  20. #define   OS(s)   OutStr  ((s),  DebugFH)
  21. #define   NL      OutStr  ("\n", DebugFH)
  22. #define   OL(n)   OutLONG ((n),  DebugFH)
  23.  
  24.  
  25.  
  26. extern BPTR  DebugFH;
  27.  
  28.  
  29.  
  30. extern int   InitDebugIO    ( /* NodePri */ );
  31. extern void  CleanupDebugIO ( );
  32. extern BPTR  DebugOpen      ( /* name, mode */ );
  33. extern void  DebugClose     ( /* fh */ );
  34. extern int   DebugWrite     ( /* fh, buf, len */ );
  35. extern void  OutStr         ( /* str, fh */ );
  36. extern void  OutLONG        ( /* n, fh */ );
  37.